<?php


if($post_form_id=="user") {


}

$c = new Criteria();
$c->addAscendingOrderByColumn(UserPeer::ID);
$array_users = UserPeer::doSelect($c);

$smarty_array_users = array();

foreach($array_users as $user) {

	array_push($smarty_array_users,		array(
										"id"=>$user->getId(),
										"first_name"=>$user->getFirstName(),
										"last_name"=>$user->getLastName(),
										"password"=>$user->getPassword(),
										"level"=>$user->getLevel(),
										"email_address"=>$user->getEmailAddress(),
										"tel_mobile"=>$user->getTelMobile()
										)
									);
	
}

$smarty->assign("list_form_user_user",$smarty_array_users);
						
?>
